package com.itheima.day02.demo1;

public class Test {
    public static void main(String[] args) {
        Audi audi = new SmartAudi();
        audi.run();
        if (audi instanceof  SmartAudi) {
            SmartAudi s = (SmartAudi) audi;
            s.automaticDrive();
            s.automaticParking();
        }
    }
}
